<?php require('../../public/header.php');
    require('../../public/function.php');
    $id=$_GET['id'];
    $arr=select('blog','blog',"where id=$id");
 ?>
    <!--/sidebar-->
    <meta charset="UTF-8">
    <div class="main-wrap">

        
        <div class="result-wrap">
            <div class="result-content">
                <form action="alert2.php" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>标题：</th>
                                <td>
                                    <input type="hidden" name='alterid' value="<?php echo $arr['0']['id']; ?>">
                                    <input class="common-text required" id="title" name="title" size="50" value="<?php echo $arr['0']['title']; ?>" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th>作者：</th>
                                <td><input class="common-text" name="author" size="50" value="<?php echo $arr['0']['author']; ?>" type="text"></td>
                            </tr>
                            <!-- <tr>
                                <th><i class="require-red">*</i>缩略图：</th>
                                <td><input name="smallimg" id="" type="file"><input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/></td>
                            </tr> -->
                            
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="修改" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                     </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
<?php require('../../public/footer.php'); ?>







